#include<iostream>
using namespace std;
#include<cmath>

int main(){

	cout<<"Prime number less than 100: \n ";
	bool prime = true;
	for(int i=2;i<=100;i++){
		prime = true;
		for(int j=2;j<=sqrt(i);j++){
			if(i%j==0){
				prime = false;
				break;
			}
		}
		if(prime){
			cout<<i<<" ";
		}
	}
	cout<<endl;
	return 0;
}
